FromIterator를 구현하면 collect할 수 있다

pub trait FromIterator<A>: Sized {
	fn from_iter<T>(iter: T) -> Self
	where T: IntoIterator<Item = A>;
}

If you want to create a collection from the contents of an iterator, the Iterator::collect() method is preferred
만약 당신이 이터레이터로부터 컬렉션을 만들고 싶다면 collect 메서드를 사용하는 것을 추천함.